﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace CtpClient
{
    public partial class Login : Form
    {
        public Login()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            /*
            if (AppLogin.Login(txtPassword.Text.Trim()))
            {
                MainForm mf = new MainForm();
                mf.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("密码错误！");
                this.txtPassword.Text = "";
                this.txtPassword.Focus();
            }
            */
        }

        private void Login_Load(object sender, EventArgs e)
        {
            /*
            if (AppLogin.ConfigFileExists)
            {
                this.ForeColor = Color.Black;
                this.Text = "请输入密码";
            }
            else
            {
                this.ForeColor = Color.Red;
                this.Text = "请输入缺省密码";
            }

            this.txtPassword.Focus();
            */
        }
    }
}
